package com.lanxin.zc.mapper;

import com.lanxin.bx.vo.AllinformalVo;
import com.lanxin.zc.entity.ZcAssetpurchaseapply;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lanxin.zc.vo.AllzcassetpurchaseapplyVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 
 * @since 2025-07-16
 */
public interface ZcAssetpurchaseapplyMapper extends BaseMapper<ZcAssetpurchaseapply> {
    //修改资产购买申请的审批状态
    public int updateAssetPurchaseStatus(Map<String,Object> map);
    List<AllzcassetpurchaseapplyVo> selectzcassetpurchList(
            @Param("docNo") String docNo,
            @Param("empName") String empName,
            @Param("submitDate") String submitDate,
            @Param("status") String status
    );

    List<AllzcassetpurchaseapplyVo> selectmyzcassetpurchList(
            @Param("docNo") String docNo,
            @Param("submitDate") String submitDate,
            @Param("status") String status,
            @Param("proposer") Integer proposer
    );
}
